$(function(){
	var idnum = window.location.href;
	var start = idnum.indexOf("id=");
	idnum = idnum.substring(start+3);
	$.ajax({
	    async: false,
		cache:false,
    	type: 'POST',
    	url: "picInfoAction_getDetailed.action",
		data: {
		    id:idnum
		}, 
    	dataType:"json",
    	success: function (data) {
    	if(data.info!=null){    		  	    		  	    		  	    		  	    		  
            $("#page-content").append("<h1 class='mb0'>" + data.info.title + "</h1>"
			+"<div class='meta'><span><a href='#'>Packaging</a>, <a href='#'>Illustration</a></span></div>"
			+"<p>" + data.info.desc1 + "</p>"
			+"<p style='text-align: center;'><img src='" + data.info.src1 + "' alt='" + data.info.title + "'></p>"
			+"<p style='text-align: center;'><img src='" + data.info.src2 + "' alt='" + data.info.title + "'></p>"
			+"<p>" + data.info.desc2 + "</p>"
			+"<p style='text-align: center;'><img src='" + data.info.src3 + "' alt='" + data.info.title + "'></p>"
			+"<p>" + data.info.desc3 + "</p>"
			+"<p>" + data.info.desc4 + "</p>");
    	}
    		
  	  },
 	   error: function () {
  	      alert("出现异常！！");
  		 }
	});
});

